home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / PROGRAM / EBKSRC.ARJ / PCCURSOR.CPP < prev    next >
C/C++ Source or Header  |  1991-07-30  |  542b  |  31 lines

  1. /*
  2.  
  3.     pccursor.cpp
  4.     7-30-91
  5.     Cursor shape class for IBM PC text modes.
  6.  
  7.     Copyright 1991
  8.     John W. Small
  9.     All rights reserved
  10.     Use freely but acknowledge authorship and copyright.
  11.  
  12.     PSW / Power SoftWare
  13.     P.O. Box 10072
  14.     McLean, Virginia 22102 8072 USA
  15.  
  16.     John Small
  17.     Voice : (703) 759-3838
  18.     CIS: 73757,2233
  19.  
  20. */
  21.  
  22. #include <pccursor.hpp>
  23.  
  24. void CursorShape::putshape(unsigned shape)
  25. { /* Don't make inline to avoid optimizer induced errors! */
  26.     prevshape = getshape();
  27.     _CX = shape;
  28.     _AH = 0x01;
  29.     geninterrupt(0x10);
  30. }
  31.